package by.dkusch.aircompany.services.csv.regioncsv;

import java.io.Serializable;

import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
import org.apache.camel.dataformat.bindy.annotation.DataField;

@CsvRecord(separator = ",")
public class RegionCSV implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@DataField(pos = 1)
	private String id;

	@DataField(pos = 2)
	private String code;

	@DataField(pos = 3)
	private String localCode;

	@DataField(pos = 4)
	private String name;

	@DataField(pos = 5)
	private String continent;

	@DataField(pos = 6)
	private String country;

	@DataField(pos = 7)
	private String wikipediaLink;

	@DataField(pos = 8)
	private String description;

	@DataField(pos = 9)
	private String add1;
	@DataField(pos = 10)
	private String add2;
	@DataField(pos = 11)
	private String add3;
	@DataField(pos = 12)
	private String add4;
	@DataField(pos = 13)
	private String add5;
	@DataField(pos = 14)
	private String add6;

	public String getContinent() {
		return continent;
	}

	public void setContinent(String continent) {
		this.continent = continent;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getAdd1() {
		return add1;
	}

	public void setAdd1(String add1) {
		this.add1 = add1;
	}

	public String getAdd2() {
		return add2;
	}

	public void setAdd2(String add2) {
		this.add2 = add2;
	}

	public String getAdd3() {
		return add3;
	}

	public void setAdd3(String add3) {
		this.add3 = add3;
	}

	public String getAdd4() {
		return add4;
	}

	public void setAdd4(String add4) {
		this.add4 = add4;
	}

	public String getAdd5() {
		return add5;
	}

	public void setAdd5(String add5) {
		this.add5 = add5;
	}

	public String getAdd6() {
		return add6;
	}

	public void setAdd6(String add6) {
		this.add6 = add6;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getLocalCode() {
		return localCode;
	}

	public void setLocalCode(String localCode) {
		this.localCode = localCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContinentR() {
		return continent;
	}

	public void setContinentR(String continentR) {
		this.continent = continentR;
	}

	public String getCountryR() {
		return country;
	}

	public void setCountryR(String countryR) {
		this.country = countryR;
	}

	public String getWikipediaLink() {
		return wikipediaLink;
	}

	public void setWikipediaLink(String wikipediaLink) {
		this.wikipediaLink = wikipediaLink;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("RegionCSV [id=");
		builder.append(id);
		builder.append(", code=");
		builder.append(code);
		builder.append(", localCode=");
		builder.append(localCode);
		builder.append(", name=");
		builder.append(name);
		builder.append(", continentR=");
		builder.append(continent);
		builder.append(", countryR=");
		builder.append(country);
		builder.append(", wikipediaLink=");
		builder.append(wikipediaLink);
		builder.append(", description=");
		builder.append(description);
		builder.append("]");
		return builder.toString();
	}

}
